home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- heroe = eval(_root.heroe);
- _X = 657;
- _Y = -192;
- SPEED = 7;
- xi = _X;
- yi = Math.abs(_Y - _root.mapa._y);
- DELAY = 20;
- idle = true;
- attack = false;
- DAMAGE = 1;
- MAXDAMAGE = 2;
- currentdamage = 0;
- hitted = false;
- flashing = false;
- hitable = false;
- FLASHTIME = 5;
- timerdamage = 0;
- myColor = new Color(this);
- myColorTransform = new Object();
- myColorTransform = {ra:"100",rb:"200",ga:"100",gb:"180",ba:"100",bb:"150",aa:"100",ab:"00"};
- myColorNormal = {ra:"100",rb:"00",ga:"100",gb:"00",ba:"100",bb:"00",aa:"100",ab:"00"};
- death = false;
- attacking = false;
- shoot = new Sound();
- shoot.attachSound("barrelshoot");
- }
-